package com.lanou3g.demo;

import com.lanou3g.demo.shop.Consumer;
import com.lanou3g.demo.shop.entity.GoodsList;
import com.lanou3g.demo.shop.equip.GoodsShelf;
import com.lanou3g.demo.shop.equip.ShoppingCart;
import com.lanou3g.demo.shop.file.DatabaseReader;
import com.lanou3g.demo.shop.person.Worker;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        GoodsShelf shelf = new GoodsShelf();
        Worker worker = new Worker();
        worker.setName("高帅");
        GoodsList goodsList = new GoodsList();
        goodsList.setListName("零食");

        worker.setReader(new DatabaseReader());

        boolean b = worker.loadListToShelf(goodsList, shelf);


    }

}
